* {
  box-sizing: border-box;
}
body {
  font-family: 'Source Sans Pro', sans-serif;
}
.text-ellipsis {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
  text-overflow: ellipsis;
}
/* menu page */
#menu-page {
  width: 960px;
  background-color: #ffffff;
  padding: 20px;
  margin: 0 auto;
}
#menu-page .app-header {
  text-align: center;
}
#menu-page .template-list {
  margin-top: 20px;
}
#menu-page .template-list .sub-title {
  position: relative;
}
#menu-page .template-list .sub-title h4 {
  font-size: 15px;
}
#menu-page .template-list .template-item {
  margin-bottom: 15px;
}
#menu-page .template-list .template-inner {
  cursor: pointer;
}
#menu-page .template-list .template-inner .name {
  font-size: 12px;
  text-align: center;
  color: #444444;
}
#menu-page .template-list .template-inner .tmp-icon {
  text-align: center;
}
#menu-page .template-list .template-inner .tmp-icon img {
  display: inline-block;
  width: 60%;
  margin-bottom: 10px;
}

/* template page */
.main-content .app-header {
  position: relative;
  margin-bottom: 20px;
  text-align: left;
  color: #333333;
  height: 20px;
}
.main-content .app-header .go-back {
  position: absolute;
  top: 0;
  height: 20px;
  line-height: 20px;
  left: 0;
  cursor: pointer;
}
.main-content .app-header .back-icon {
  font-size: 16px;
}
.main-content .notice {
  position: relative;
  margin-bottom: 20px;
}
.main-content .form-input .zi-slider-handler {
  z-index: 9 !important;
}
.main-content .notice .close-notice {
  display: block;
  position: absolute;
  width: 30px;
  right: 10px;
  top: 10px;
  cursor: pointer;
  text-align: right;
}
.main-content {
  box-sizing: border-box;
  width: 960px;
  background-color: #ffffff;
  padding: 20px;
  margin: 0 auto;
}
.main-content .lh-32 {
  line-height: 32px;
}
.main-content .config-box {
  position: relative;
  padding-left: 400px;
}
.main-content .config-box .preview-screen {
  position: absolute;
  width: 360px;
  height: 640px;
  top: 0;
  left: 0;
  padding: 0 !important;
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(0,0,0,.117647), 0 1px 4px rgba(0,0,0,.117647);
}
.main-content .zi-radio .zi-radio-label {
  font-weight: normal;
}
.main-content .form-row {
  margin-bottom: 20px;
}
.main-content .form-row .zi-radio-container {
  display: block !important;
}
.main-content .form-row .form-label {
  padding-right: 40px;
  text-align: right;
}
.form-label._required span:after {
  content: "*";
  color: red;
  padding-left: 2px;
}
.main-content .form-row .label-tooltip {
  text-align: right;
  display: inline-block;
  cursor: pointer;
}
.main-content .form-row .form-label span {
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  color: #444444;
}
.main-content .preview-creative .files {
  padding: 30px 0 0 0;
}
.main-content .preview-creative .files .link span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.main-content .m-colorPicker {
  border: 1px solid #e5e5e5 !important;
}
.main-content .m-colorPicker .box {
  z-index: 11;
  width: 220px !important;
}
.main-content .m-colorPicker ul li:before {
  content: "" !important;
}
.main-content .progress-tip {
  padding-left: 10px;
  padding-top: 20px;
  color: #666666;
  font-size: 12px;
}
.main-content .template-preview {
  margin-top: 10px;
}
.main-content .template-preview .template-img {
  display: block;
  width: 80px;
}
.main-content .givin-img {
  color: #666666;
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.2;
}
.main-content .num-tip {
  color: #666666;
  font-size: 12px;
  padding-left: 10px;
}
.action-btn-row .zi-btn {
  margin-bottom: 15px;
}